import service from '@/utils/request'

export const login = (username: any, password: any) => {
    return service.request({
        url: 'login',
        method: 'post',
        data: {
            username,
            password
        }
    })
} 